liblockdep: Fix undefined symbol prandom_u32
authorBen Hutchings <ben@decadent.org.uk>
Tue, 14 Jun 2016 20:09:19 +0000 (21:09 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Mon, 27 Feb 2017 15:58:07 +0000 (15:58 +0000)
commit31ab4e55e83123e6a850b2928578cbe473c99877
tree651533a00477d98a3ce1a31ad6d7133218ff0645
parentda552e634dbc3e14295649aff9ef390de4db09ec
liblockdep: Fix undefined symbol prandom_u32

__lock_pin_lock() now calls prandom_u32() which is not defined in
liblockdep.  __lock_pin_lock() and its caller lock_pin_lock() are dead
code in liblockdep, but we still need to provide a definition of
prandom_u32() in case lazy binding is disabled.

Fixes: e7904a28f533 ("locking/lockdep, sched/core: Implement a better ...")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name liblockdep-fix-undefined-symbol-prandom_u32.patch
tools/lib/lockdep/lockdep.c